package client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("admin")
public interface AdminService extends RemoteService {
	
	List<RepositoryDTO> getRepositories();
	
	void updateRepositoryEnabledFlag(long id, Boolean value);
	
	RepositoryDTO getRepositoryInformation(long id);
	
	void updateRepository(RepositoryDTO repositoryDTOForUpdate);
	
	void saveNewRepository(RepositoryDTO repository);

}
